package com.yg.entity.singleEntity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 对应sheet16，此表是教学实践基地表
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TeachingPracticeBase对象", description="对应sheet16，此表是教学实践基地表")
public class TeachingPracticeBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "基地名称")
    private String name;

    @ApiModelProperty(value = "基地地点")
    private String place;

    @ApiModelProperty(value = "设立时间")
    @JsonFormat(pattern = "yyyy.MM",timezone = "GMT+8")
    private String time;

    @ApiModelProperty(value = "建设或依托单位")
    private String constructionUnit;

    @ApiModelProperty(value = "用途")
    private String application;

    @ApiModelProperty(value = "可容纳学生数")
    private Integer number;

    @ApiModelProperty(value = "经费来源")
    private String sourceFund;

    @ApiModelProperty(value = "备注")
    private String note;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "教学实践基地id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @TableLogic
    private Integer deleted;


}
